package gupao.concurrency.datasync.tbapi;

import com.fasterxml.jackson.annotation.JsonInclude;
import gupao.concurrency.datasync.entity.TciWordData;
import lombok.*;

import java.io.Serializable;

@Getter @Setter
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Resp implements Serializable {
    private String code;
    private String msg;
    private TciWordData data;

    public boolean isSuccess(){
        return "20000".equals(code);
    }
}
